You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clValue Structure > clValue Methods > clValue.ThreshTop Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clValue.ThreshTop Method

Threshold top operation.

Syntax
C#
Visual Basic
public TOpenCLValue ThreshTop([In] TOpenCLValue Src, double Value);

Perform threshold operation on Src object value. The Value parameter is an upper bound for threshold operation. All values bigger than Value will be replaced with Value.

ThreshTop

var a,b: clValue; begin b.Copy(3); a.ThreshTop(b, 0.2); // a = [0.2] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!